<template>
  <svg class="tp-org-svg" aria-hidden="true" :style="{fill:color,width:size,height:size}">
    <use :xlink:href="'#'+icon"/>
  </svg>
</template>

<script>
import './iconfont.js';
export default {
  name: 'TpOrgIcon',
  props: {
    icon: {
      type: String,
      required: true
    },
    color: String,
    size: String
  }
}
</script>